<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="sx" uri="/struts-dojo-tags" %>
<%@ taglib prefix="sec"
	uri="http://www.springframework.org/security/tags"%>

<s:include value="../header.jsp"></s:include>
<s:include value="../leftNav.jsp"></s:include>

<div id="content">

<div id="tabs">
	<ul>
		<li><s:a href="#tabs-1" action="testActionJsp.action">Create new issue</s:a></li>
	</ul>
	<div id="tabs-1">
 		<p>Create Issue</p>
		<s:form name="addForm" method="post" action="addIssueForm.action" theme="xhtml">
			<s:textfield name="title" label="Title" size="60"/>
			<s:textarea label="Description" name="description" cols="60" rows="6"/>
			<s:select label="Iteration" headerKey="-1"
				headerValue="Choose iteration" list="iterations" name="iterationSlt" />
			<s:select label="Type" headerKey="-1"
				headerValue="types" list="types" name="type" />
			<s:select label="Priority" headerKey="-1"
				headerValue="Priorities" list="priorities" name="priority" />
			<s:select label="Team" headerKey="-1"
				headerValue="teams" list="teams" name="team" />
			<s:textfield name="estimationHours" label="Estimation (hours)" size="10"/>
			<sx:datetimepicker name="estimationTime" label="Estimation (date)" 
				displayFormat="dd-MMM-yyyy" value="todayDate" />
			<s:checkbox name="notify" fieldValue="true" label="Notify me about issue changes"/>
			<s:submit type="button" name="Add" label="Create issue" />
		</s:form>
	</div>
</div>
</div>
</body>
</html>